
#encoding=UTF-8

from Error import *
from DefensiveBuilding import *

class ArcherTower(DefensiveBuilding):
	def __init__(self):
		DefensiveBuilding.__init__(self)
		self.url = "http://clashofclans.wikia.com/wiki/Archer_Tower"
		self.number_available_dsec = """
0 	1 	1 	2 	3 	3 	4 	5 	6 	7 
"""
		self.level_info_desc = """
1 	11 	11 	400 	1,000 	15 minutes 	30 	2
2 	15 	15 	450 	2,000 	30 minutes 	42 	2
3 	19 	19 	500 	5,000 	45 minutes 	51 	3
4 	25 	25 	550 	20,000 	4 hours 	120 	4
5 	30 	30 	590 	80,000 	12 hours 	207 	5
6 	35 	35 	610 	180,000 	1 day 	283 	5
7 	42 	42 	630 	360,000 	3 days 	509 	6
8 	48 	48 	660 	720,000 	4 days 	587 	7
9 	56 	56 	690 	1,500,000 	5 days 	657 	8
10 	65 	65 	720 	2,500,000 	6 days 	720 	8
11 	75 	75 	750 	5,000,000 	7 days 	777 	9 
"""
		self._DoParse()

	def GetAttackSpeed(self):
		return 1

